from run_test import rtest, print_sep


class X(object):
    pass


class Y(object):
    pass


class A(X, Y):
    pass


class B(Y, X):
    pass


# class C(a_, B):
#     pass


def te1():
    a = 0
    b = 0
    # a_, b = 1 # 报错
    a, b = 1, 1
    print(a, b)


def te2():
    a = (1.0, 2.0)
    print(a[0])
    print(a[1])


def te3():
    li = [('b', 2), ('a_', 1), ('c', 3), ('d', 4)]
    print(li[:, 1])
    print(li[::2, :])


if __name__ == '__main__':
    rtest(te1)
    rtest(te2)
    rtest(te3)
